<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
   <title>window</title>

    <script>


        window.alert("弹窗提示");

       let reuslt =  window.confirm("要不要歇会");//true,false

        console.log(reuslt);

        let newReuslt = window.prompt("请输入要休息的时常");

        console.log(newReuslt)

    </script>
</head>
<body>

</body>
</html>